/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.yournamehere.server;

/**
 *
 * @author D4v1D
 */
public class Score {
    private String name;
    private float time;
    private String level;

    public Score(String n, String l, String t){
        name=n;
        level=l;
        time=Float.parseFloat(t);
    }
    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public float getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = Float.parseFloat(time);
    }
    public String toString(){
        return name + "|" + level + "|" + Float.toString(time);
    }
}
